package com.yc.boot.sys.model.update;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @author 杨智杰
 * @since 2021/8/25 13:33
 */
@Data
@Accessors(chain = true)
@ApiModel("修改角色数据模型")
public class UpdateRole {

    @NotNull
    @ApiModelProperty(value = "根据Id修改", required = true)
    private Long id;

    @ApiModelProperty("角色名")
    private String name;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("默认角色")
    private Boolean isDefault;

}
